package com.spring.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by zzy on 2018/4/22.
 */
@RestController
public class controller {


    @GetMapping("/index")
    public String index(){
        return "hello word";
    }
}
